package com.wdh.kjs.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.Spinner;

import com.wdh.kjs.R;

/**
 * Created by CQH on 2016/4/21.
 */
public class BindBankCardActivity extends BaseTopActivity implements View.OnClickListener{
    private Button exitLogin;
    private Spinner openingBank;
    private String[] s = {"中国银行","中国农业银行","中国工商银行","中国建设银行","中国交通银行","中国民生银行","中国光大银行","中信银行","华夏银行","广发银行","深圳发展银行","招商银行","兴业银行","上海浦东发展银行","恒丰银行","浙商银行","渤海银行","福建海峡银行","中国邮政储蓄"};
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.bank_card_manage);
        initTopBar("银行卡管理");
        initview();
    }


    private void initview() {
        openingBank = (Spinner)findViewById(R.id.openingBank);
        ArrayAdapter<String> spinneradapter=new ArrayAdapter<String>(this,android.R.layout.simple_spinner_item, s);
        spinneradapter.setDropDownViewResource(android.R.layout. simple_spinner_dropdown_item );
        openingBank.setAdapter(spinneradapter);

    }
    public void onClick(View v){
    }
}
